// 选择文件夹
export const selectFile = async (properties, multi, callback) => {
    //properties =  openFile | openDirectory
    const paths = await window.electronAPI.selectFile({properties: properties});
    if (paths && paths.length > 0) {
        callback(multi ? paths: paths[0])
    }
}

